pragma Singleton
import QtQuick 2.0

QtObject {
//    property alias color: _color
//    property alias width: _width
//    property alias ui: _ui

    //color
    property color primaryColor: "#4772b3"
    property color borderColor: "#60ffffff"
    property color backgroundColor: "#303030" //#303030
    property color textColor: "#cccccc"
    property color contrlBackgroundColor: "#1d1d1d"
    property color selectBackgroundColor: "#4772b3"

    //spacing
    property int spacing: 4
    property int doubleSpacing: spacing * 2

    //padding
    property int padding: 4
    property int doublePadding: padding * 2

    //margin
    property int margin: 4
    property int doubleMargin: margin * 2

    //width
    property int borderWidth: 1
    property int radius: 6

    //height
    property int controlHeight: 30

    //time
    property int animationDuration: 200

    //font
    property int fontPixSize: 16

    //ui 缩放系数
    property real ratio: 1.0

//    //colors
//    QtObject{
//        id: _color
//        property color primary: "red"
//        property color border: "gray"
//    }

//    QtObject{
//        id: _ui
//        property real radius: 6
//        property real border: 6
//        property int spacing: 4
//        property int doubleSpacing: spacing * 2
//    }

//    QtObject{
//        id: _width
//        property real radius: 6
//        property real border: 6
//        property int spacing: 4
//        property int doubleSpacing: spacing * 2
//    }
}
